package vfs.obj.entity;

/**
 * A VFSPathEndpoint represents either an ancestor or a descendant in the
 * virtual folder hierarchy.  It contains length information that corresponds
 * to how many hops are between it and its other endpoint.
 * 
 * @author Matthew Eavenson <durandal@uga.edu>
 */
public interface VFSPathEndpoint extends VFSEntity{
    
    /**
     * Returns the length of the path that this endpoint belongs to.
     * 
     * @return the length of the path that this endpoint belongs to
     */
    int length();
    
}
